package com.igeek.dvd;

import java.math.BigDecimal;

public class DVD {

    private String name;

    private String dvdNo;

    private BigDecimal price;

    /**
     * 上下架的状态：
     *      true -> 上架
     *      false -> 下架
     */
    private boolean isUp;

    /**
     * 租借状态：
     *      true -> 已租借
     *      false -> 未租借
     */
    private boolean isRent;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDvdNo() {
        return dvdNo;
    }

    public void setDvdNo(String dvdNo) {
        this.dvdNo = dvdNo;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public boolean isUp() {
        return isUp;
    }

    public void setUp(boolean up) {
        isUp = up;
    }

    public boolean isRent() {
        return isRent;
    }

    public void setRent(boolean rent) {
        isRent = rent;
    }
}
